package cloud.code.baseProject.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 分页dto
 * Created by zhanghaichao on 2019/4/8.
 */
public class PageDto<T> implements Serializable {
    private static final long serialVersionUID = 2625032595229446351L;

    private List<T> list;

    private Integer pageNumber;

    private Integer pageSize;

    private Integer totalPage;

    private Integer totalRow;


    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(Integer totalRow) {
        this.totalRow = totalRow;
    }
}
